import {connectSSE} from "@/sse";
const prefix = "/api/thirdParty";
export async function chatMessage(params: any, callback: (data: string) => void, onError?: (err: any) => void) {
  return connectSSE(prefix + "/chatMessage", params, callback, onError);
}
